home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18376 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.1 KB  |  37 lines

  1. Path: service-2.agate.net!usenet
  2. From: ettienne@agate.net (Steve Nutt)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: 64 bit operators
  5. Date: Sat, 20 Apr 1996 05:07:03 GMT
  6. Organization: DET
  7. Message-ID: <4l9k0b$mbo@service-2.agate.net>
  8. References: <4kh5vs$286@nyheter.chalmers.se>
  9. Reply-To: ettienne@agate.net
  10. NNTP-Posting-Host: ettienne.sdi.agate.net
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. ei39418@ios.chalmers.se (Michael Schön) wrote:
  14.  
  15. >PROBLEM:
  16. >I would like to multiply, substract and divide two 64 bit
  17. >LONGLONG hyper words in Borland C++ 4.52. These types are declared in
  18. ><winnt.h>.
  19. >In Visual C++ 2.0 these operators are defined and declared in <longint.h>
  20. >e.g. a=LongIntegerSubstract(b,c) so there should exists a corresponding 
  21. >declaration for Borland C++ 4.52!
  22. >But where???
  23.  
  24. >QUESTION:
  25. >How do you perform these basic +,-,*,/ operators on 64 bit words?
  26.  
  27. >/Michael 
  28. >ei39418@ios.chalmers.se
  29.  
  30. Wish I knew. If you find one, please let me know. There is a freeware
  31. c++ library called bigint available on CompuServe in the borland
  32. forums. I seem to rember one or two problems with them though.
  33. Performance was one, forgotten what the other was!
  34.  
  35. Steve
  36.  
  37.